<div class="fly-panel fly-column">
    <div class="layui-container">
        <ul class="layui-clear">
            <li class="layui-hide-xs  layui-this">
                <a href="{:url('/index/Index/index')}">首页</a>
            </li>

            <?php foreach ($cate as $row): ?>
            <li>
                <a href="{:url('index/Cate/index')}?cid={$row['cid']}"> {$row['cname']} </a>
            </li>
            <?php endforeach ?>
            
        </ul>
        <div class="fly-column-right layui-hide-xs">
            <span class="fly-search LAY_search">
                <i class="layui-icon">&#xe615;</i>
            </span>
            <a href="{:url('index/Post/index')}" class="layui-btn">发表新帖</a>
        </div>
        <div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;">
            <a href="{:url('index/Post/index')}" class="layui-btn">发表新帖</a>
        </div>
    </div>
</div>